In this guide, we will walk through how to resize XFS / Btrfs file systems on Linux. The XFS file system is referred to as the high-speed JFS (Journaled File System).
Systems with older LVM tools/missing fsadm command will require using a xfs_growfs command. then you have to xfs_growfs to increase the size of an XFS filesystem: You must log in to answer this question. Find the answer to your question by asking. See sim
Since our swap partition (/xvda2) comes right after xvda1, we can’t resize xvda1 unless we remove / move xvda2. In that case, since it’s only a swap partition we choose to remove it, resize and then re-create it.